package com.woniuxy.car.commodity.service.core.common;

import cn.hutool.core.util.ObjectUtil;
import com.woniuxy.common.exception.BusinessException;

/**
 * @Title: MyAssert
 * @ProjectName: car-life2
 * @Description: TODO
 * @Author: xiong
 * @Date: 2022/3/3 11:20
 */
public class MyAssert {

    public static void notEmpty (Object column, String message) throws BusinessException{
        if(ObjectUtil.isEmpty(column)){
            throw new BusinessException(message);
        }

    }
}
